package com.dc.common.constant;

/**
 * @author zhuangcy
 * @date 2021/6/1
 * @description 流程常量类
 */
public class WorkflowConstants {

    public static final String BPMN_XML_SUFFIX = ".bpmn20.xml";

    public static final String BPMN_SUFFIX = ".bpmn";

    public static final String BPMN_PNG = ".png";

    public static final String BPMN_TYPE_PNG = "png";

    public static final String SEPARATOR = "#";

    /**
     * 禁用状态
     */
    public static final String DISABLED_STATE = "0";
    /**
     * 启用状态
     */
    public static final String ENABLED_STATE = "1";

    /**
     * 草稿状态
     */
    public static final String DRAFT_STATE = "0";
    /**
     * 激活状态
     */
    public static final String ACTIVATE_STATE = "1";
    /**
     * 暂停状态
     */
    public static final String SUSPEND_STATE = "2";

    /**
     * 单据已保存状态
     */
    public static final String DOC_SAVE_STATE = "0";
    /**
     * 单据已提交状态
     */
    public static final String DOC_SUBMIT_STATE = "1";
    /**
     * 单据已撤回状态
     */
    public static final String DOC_REVOKE_STATE = "2";
    /**
     * 单据审核中状态
     */
    public static final String DOC_AUDITING_STATE = "3";
    /**
     * 单据审核通过状态
     */
    public static final String DOC_APPROVED_STATE = "4";
    /**
     * 单据审核不通过状态
     */
    public static final String DOC_APPROVED_NOT_STATE = "5";
    /**
     * 单据审核已关闭状态
     */
    public static final String DOC_CLOSE_STATE = "6";


}
